<template>
  <div v-title data-title="工程采购申请单编辑">
    <PurchaseApply ref="PurchaseApplyBox" />
  </div>
</template>

<script>
import PurchaseApply from '@/views/purchase/PurchaseApply'
export default {
  components: {
    PurchaseApply,
  },
  data() {
    return {
      id: this.$route.params && this.$route.params.id,
    }
  },
  mounted(){
    if(this.id){
      this.$refs.PurchaseApplyBox.updateInit(this.id)
    }
  }
}
</script>